package com.sxpi.zixun.service.adminlogs;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.sxpi.zixun.bo.AdminLogsBo;
import com.sxpi.zixun.mapper.AdminLogsMapper;
import com.sxpi.zixun.pojo.AdminLogs;
import com.sxpi.zixun.vo.AdminLogsVo;
import org.springframework.stereotype.Service;
import java.util.List;

/**
 * @Author: 董伟豪
 * @Date: 2022/9/6 19:34
 */
@Service
public class IAdminLogsServiceImpl extends ServiceImpl<AdminLogsMapper,AdminLogs> implements IAdminLogsService {

    /**
     * 查询后台操作日志列表信息
     * @return
     */
    @Override
    public List<AdminLogsBo> findAdminLogsList() {
        return null;
    }

    /**
     * 查询后台操作日志列表信息并分页
     * @param adminlogsVo
     * @return
     */
    @Override
    public IPage<AdminLogsBo> findAdminLogsPage(AdminLogsVo adminlogsVo) {
        return null;
    }

    /**
     * 修改后台操作日志
     * @param adminlogs
     * @return
     */
    @Override
    public AdminLogsBo saveUpdateAdminLogs(AdminLogs adminlogs) {
        boolean flag = this.saveOrUpdate(adminlogs);
        return flag ? tranferBo(adminlogs,AdminLogsBo.class)  : null;
    }

    /**
     * 根据Id删除后台操作日志
     * @param id
     * @return
     */
    @Override
    public int deleteAdminLogsById(Long id) {
        return 0;
    }

    /**
     * 根据Id查询后台操作日志明细信息
     * @param id
     * @return
     */
    @Override
    public AdminLogsBo getAdminLogsById(Long id) {
        return null;
    }

    /**
     * 根据后台操作日志ids批量删除后台操作日志
     * @param ids
     * @return
     */
    @Override
    public boolean delBatchAdminLogs(String ids) {
        return false;
    }
}
